package Flap::Template::Directive::Set;
use Flap qw/-b Flap::Template::Directive -s -w/;

sub begin {
    my($dtv, $doc, $ft) = @_;
    $dtv->{pl}{code}->($doc);
    $dtv->{id} + 1;
}

sub parse { shift->_parse_if(@_) }

1;
